package org.javaboy.demo;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @author Lyh
 * @date 2024/2/2 1:04
 * @desciption:
 */
public class JavaDemo {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext ctx = new AnnotationConfigApplicationContext(JavaConfig.class);
//        User user1 = ctx.getBean(User.class);
//        User user2 = ctx.getBean(User.class);
//        System.out.println(user1 == user2);
    }
}
